Skip to content

Fla 807 refactor username generator to generate guid#7

Draft
sondre81 wants to merge 4 commits intomainfrom
FLA-807-Refactor-username-generator-to-generate-GUID
Draft

Fla 807 refactor username generator to generate guid#7
sondre81 wants to merge 4 commits intomainfrom
FLA-807-Refactor-username-generator-to-generate-GUID

Conversation

@sondre81
Copy link
Copy Markdown
Contributor

Refactored to include randomized string at the end of full name. If name is over 64 chars it will truncate orgId, team and name.

Wrote tests to prove the concept.

@sondre81 sondre81 requested a review from murillio4 May 28, 2025 09:45
@sondre81 sondre81 self-assigned this May 28, 2025
@murillio4
Copy link
Copy Markdown

murillio4 commented May 29, 2025

I think the username can just be a simple GUID. No need for combining it with orgid team or name.
Since a GUID is unique, we cannot "regenerate it". Therefore its important that we annotate the CRD with the username. This way we can fetch the annotation from the CRD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants